﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AddRequest.aspx.cs" Inherits="SWEN_HMS.StaffHousekeepingModule.AddRequest" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">



        .auto-style2
        {
            width: 100%;
        }
        .auto-style4
        {
            width: 113px;
            height: 21px;
        }
        .auto-style6
        {
            height: 21px;
            width: 229px;
        }
        .auto-style5
        {
            height: 21px;
        }
        .auto-style3
        {
            width: 113px;
        }
        .auto-style7
        {
            width: 229px;
        }
        .auto-style8
        {
            width: 113px;
            height: 35px;
        }
        .auto-style9
        {
            width: 229px;
            height: 35px;
        }
        .auto-style10
        {
            height: 35px;
        }
        .auto-style17
        {
            width: 113px;
            height: 1px;
        }
        .auto-style18
        {
            height: 1px;
            width: 229px;
        }
        .auto-style19
        {
            height: 1px;
        }
        .auto-style14
        {
            width: 113px;
            height: 29px;
        }
        .auto-style15
        {
            width: 229px;
            height: 29px;
        }
        .auto-style16
        {
            height: 29px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:Timer ID="Timer1" runat="server" Enabled="False" Interval="5000" OnTick="Timer1_Tick">
    </asp:Timer>
    <asp:Label ID="indicationLabel" runat="server"></asp:Label>
    <br />
    <table class="auto-style2">
        <tr>
            <td class="auto-style4" valign="top">Room Number</td>
            <td class="auto-style6" valign="top">
                <asp:ListBox ID="roomNumList" runat="server" Width="200px"></asp:ListBox>
            </td>
            <td class="auto-style5" valign="top">
                <asp:Label ID="roomNoLabel" runat="server"></asp:Label>
                <br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="roomNumList" ErrorMessage="Please select a room number!"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style3" valign="top">Request</td>
            <td class="auto-style7" valign="top">
                <asp:DropDownList ID="requestDropDown" runat="server" Width="200px">
                    <asp:ListItem>Room Cleaning</asp:ListItem>
                    <asp:ListItem>Room Service</asp:ListItem>
                    <asp:ListItem>Laundry</asp:ListItem>
                    <asp:ListItem>Others</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td valign="top">&nbsp;</td>
        </tr>
        <tr>
            <td class="auto-style8" valign="top">Remarks<br />
                (optional)</td>
            <td class="auto-style9" valign="top">
                <asp:RadioButtonList ID="remarksRadio" runat="server" AutoPostBack="True" OnSelectedIndexChanged="remarksRadio_SelectedIndexChanged" RepeatDirection="Horizontal" Width="200px">
                    <asp:ListItem>Yes</asp:ListItem>
                    <asp:ListItem Selected="True">No</asp:ListItem>
                </asp:RadioButtonList>
                <asp:TextBox ID="remarksTextbox" runat="server" Enabled="False" TextMode="MultiLine" Width="200px"></asp:TextBox>
            </td>
            <td class="auto-style10" valign="top"></td>
        </tr>
        <tr>
            <td class="auto-style17" valign="top">Request Date</td>
            <td class="auto-style18" valign="top">
                <asp:TextBox ID="requestDateTextbox" runat="server" TextMode="Date" Width="200px"></asp:TextBox>
            </td>
            <td class="auto-style19" valign="top"></td>
        </tr>
        <tr>
            <td class="auto-style14" valign="top">Request Time</td>
            <td class="auto-style15" valign="top">
                <asp:DropDownList ID="requestTimeHoursDropDown" runat="server" Width="50px">
                    <asp:ListItem>0</asp:ListItem>
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                    <asp:ListItem>8</asp:ListItem>
                    <asp:ListItem>9</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                    <asp:ListItem>11</asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                    <asp:ListItem>13</asp:ListItem>
                    <asp:ListItem>14</asp:ListItem>
                    <asp:ListItem>15</asp:ListItem>
                    <asp:ListItem>16</asp:ListItem>
                    <asp:ListItem>17</asp:ListItem>
                    <asp:ListItem>18</asp:ListItem>
                    <asp:ListItem>19</asp:ListItem>
                    <asp:ListItem>20</asp:ListItem>
                    <asp:ListItem>21</asp:ListItem>
                    <asp:ListItem>22</asp:ListItem>
                    <asp:ListItem>23</asp:ListItem>
                </asp:DropDownList>
                &nbsp;:
                <asp:TextBox ID="requestTimeMinsTextbox" runat="server" CausesValidation="True" MaxLength="2" Width="30px">00</asp:TextBox>
                &nbsp;hours</td>
            <td class="auto-style16" valign="top">
                <asp:RangeValidator ID="minsRangeValid" runat="server" ControlToValidate="requestTimeMinsTextbox" ErrorMessage="Please enter 0-60 for time in Minutes." MaximumValue="59" MinimumValue="0" Type="Integer"></asp:RangeValidator>
            </td>
        </tr>
    </table>
    <asp:Button ID="submitScheduleBtn" runat="server" CssClass="btnCSS" OnClick="submitRequestBtn_Click" Text="Submit Request" />
    <asp:Button ID="backToScheduleBtn" runat="server" CausesValidation="False" CssClass="btnCSS" OnClick="backToRequestBtn_Click" Text="Back to Manage Request page" />
</asp:Content>
<asp:Content ID="Content5" runat="server" contentplaceholderid="pageTitlePHolder">
    <span class="auto-style1">Add a New Customer Request</span> 
</asp:Content>

